package com.weishi.project.sport.home.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weishi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 返回首页 个人详情
 */
@Data
public class MineDateVO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户 id")
    private Integer id;

    @ApiModelProperty(value = "头像")
    private String imgUrl;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "运动员梯队")
    private String echelon;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参训时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "参训时间")
    private Date trainingTime;

    @ApiModelProperty(value = "技术等级")
    private String level;

    @ApiModelProperty(value = "性别")
    private Integer sex;









}
